Gen

A Gen type that generates ASCII strings with a number of characters that is between template parameter low and high.

If low and high are very close together, this might return values that are too short. They should differ by at least three for char strings, one for wstrings, and zero for dstrings.

  1. struct Gen(T, T low = minimum!T, T high = maximum!T)
  2. struct Gen(T, size_t low = 0, size_t high = 32)
    struct Gen (
    T
    size_t low = 0
    size_t high = 32
    ) if (
    from!"std.traits".isSomeString!T
    ) {
    dchar[] charset;
    size_t numCharsInCharSet;
    T value;
    }

Alias This

opCall

Meta